/**
 * 
 */
package com.antilia.infomaresme.data.dao.interfaces;

import java.io.Serializable;
import java.util.List;

import com.antilia.infomaresme.data.dataobjects.ImageDetail;
import com.antilia.infomaresme.data.dataobjects.Item;

/**
 * @author Ernesto
 *
 */
public interface IImageService extends Serializable {

	List<ImageDetail> getImageDetails(Item item);
	
	/**
	 * Resizes a image
	 * @param imageDetail
	 * @param width
	 * @param height
	 * @return
	 */
	ImageDetail resizeImage(ImageDetail imageDetail, int width, int height);
	
	ImageDetail storeImage(byte[] image, String contentType);
}
